﻿@{
    Layout = null;
}
@Html.Action("Account_Show", "Account");
<div class="content">
    <div class="header">
        <div class="header-right">
            <div id="middle">
                <div class="Switch"></div>
                <script type="text/javascript">
                    $(document).ready(function (e) {
                        $(".Switch").click(function () {
                            $(".left").toggle();
                        });
                    });
                </script>
                <div class="right" id="mainFrame">
                    <div class="right_cont">
                        <ul class="breadcrumb">
                            当前位置：
                            <a href="/Home/Index">首页</a>
                            <span class="divider">/</span>
                            仓库
                        </ul>
                        <div class="title_right"><strong>仓库修改</strong></div>
                        <div style="width:100%; margin:auto">
                            <div style="margin-top:20px;">
                                @using (Html.BeginForm("calendar_Upd", "calendar", FormMethod.Post, new { enctype = "multipart/form-data" }))
                                {
                                <table class="table  table-hover table-bordered table-striped">
                                    <tr>
                                        @Html.Hidden("WareHose_Id")
                                        <th>仓库名称</th>
                                        <td>@Html.TextBox("WareHose_Name")</td>
                                    </tr>
                                    <tr>
                                        <th>地址</th>
                                        <td>@Html.TextBox("WareHose_Address")</td>
                                    </tr>
                                    <tr>
                                        <th>联系人</th>
                                        <td>@Html.TextBox("WareHose_People")</td>
                                    </tr>
                                    <tr>
                                        <th>手机</th>
                                        <td>@Html.TextBox("WareHose_Phone")</td>
                                    </tr>
                                    <tr>
                                        <td>仓库图片:</td>
                                        <td><input type="file" name="images" required /></td>

                                    </tr>
                                    <tr>
                                        <td></td>
                                        <td><img src="@Url.Content(Model.Commodity_Url)" style="width:60px; height:60px;" /></td>
                                    </tr>
                                    <tr>
                                        <th>备注</th>
                                        <td>@Html.TextArea("WareHose_Remark")</td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <input type="submit" name="Submit" value="修改" />
                                        </td>
                                        <td>
                                            <a href="/calendar/calendar_Show">返回</a>
                                        </td>
                                    </tr>
                                </table>
                                }
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 底部 -->
<div id="footer">版权所有：亿里猪ERP</div>
<script>
    !function () {
        laydate.skin('molv');
        laydate({ elem: '#Calendar' });
    }();
    function fun() {
        location.href = '/Home/Index';
    }
</script>


